package com.zhao.fishingguideserver.POJO;

import jakarta.validation.constraints.NotEmpty;
import lombok.Data;
import java.time.LocalDateTime;

/**
 * 系统公告实体类
 */
@Data
public class SystemNotice {
    private Long noticeId;
    
    @NotEmpty(message = "公告标题不能为空")
    private String title;
    
    @NotEmpty(message = "公告内容不能为空")
    private String content;
    
    /**
     * 状态：1-启用，0-禁用
     */
    private Integer status;
    
    /**
     * 优先级，数字越大优先级越高
     */
    private Integer priority;
    
    private LocalDateTime createdAt;
    
    private LocalDateTime updatedAt;
}

